package com.turing.data.model.domain.element;

    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableId;
    import com.turing.orm.model.domain.common.BaseDo;
    import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
    import lombok.Builder;
    import lombok.Data;
    import lombok.EqualsAndHashCode;
    import lombok.experimental.Accessors;
    import lombok.AllArgsConstructor;
    import lombok.NoArgsConstructor;


/**
* @Description 
* @Author livin
* @Date 2022-01-19
*/
@ApiModel(value ="")
@Data
@EqualsAndHashCode(callSuper = false)
@Builder(toBuilder = true)
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class ElementGroup extends BaseDo<ElementGroup> {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("name")
    private String name;

    @TableField("type")
    private String type;

    @TableField("template_id")
    private String templateId;

    @TableField("ele_ids")
    private String eleIds;

    @TableField("ele_names")
    private String eleNames;

    @TableField("bind_ele_type")
    private String bindEleType;

    @TableField("updated_by")
    private Integer updatedBy;

    @TableField("no")
    private Integer no;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}

